//
//  EFSWKWebViewController.h
//  LuGong
//
//  Created by zhuangdechao on 2017/7/17.
//  Copyright © 2017年 YiShi. All rights reserved.
//

#import <WebKit/WebKit.h>
#import <UIKit/UIKit.h>
#import "WKWebViewJavascriptBridge.h"

typedef void (^GetTitleCallback)(NSString *title);

@interface EFSWKWebViewController : UIViewController
/** 是否显示进度条 */
@property (nonatomic,assign) BOOL isShowProgress;

@property (nonatomic, strong) NSURL *url;
@property (nonatomic, assign) BOOL cached;
@property (nonatomic, assign) BOOL hasCustomNavigationBar;
@property (nonatomic, assign) BOOL noSetupFillingViewUnderNavigationBar;
@property (nonatomic, assign) BOOL isWebViewKeepInMemory ; /**< default is NO */
@property (strong, nonatomic) WKWebView *webView;
@property (nonatomic, strong) WKWebViewJavascriptBridge *bridge;

@property (weak ,nonatomic) NSURLRequest *request;


@property (nonatomic, copy) GetTitleCallback getTitleCallback;

@property (nonatomic, assign) BOOL autoSetTitleText;
- (void)loadPage;




@end
